package com.ai.bitcoin.jpa.service;

import com.ai.bitcoin.jpa.entity.BccPriceDay;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**
 * @author Jason
 * @date 2018/4/8
 **/
public interface BccPriceDayService {
    BccPriceDay save(BccPriceDay bccPriceDay);

    Page<BccPriceDay> findByBccId(String bccId, Pageable pageable);

    List<BccPriceDay> findByBccIdAndCreateTimeGreaterThan(String bccId, Date createTime);

}
